﻿using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsFormsApp1
{
    [Table(Name ="Persons")]
   public   class clsPersons
    {
        [Column(IsPrimaryKey = true)]
        public int Id { get; set; }

        [Column]
        public string LastName { get; set; }

        [Column]
        public string FirstName { get; set; }

        [Column]
        public string Address { get; set; }

        [Column]
        public string City { get; set; }

        [Column]
        public int Score { get; set; }

        [Column]
        public int?  Level { get; set; }

    }
}
